/**
 * 屏幕尺寸相关
 * Name:chentao
 * Date:2017-11-20
 */

import { Dimensions, Platform, PixelRatio } from 'react-native';

export default {
    width: Dimensions.get('window').width,
    height: Dimensions.get('window').height,
    onePixel: 1 / PixelRatio.get(),
    statusBarHeight: (Platform.OS === 'ios' ? 20 : 0),
}